﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;


namespace BCGM.MedicalWisdom.Model.Models.Patients
{
    ///<summary>
    ///药方
    ///</summary>
    [SugarTable("prescription", "WMBLOG_MYSQL")]
    public class prescription
    {
        public prescription()
        {
        }
        /// <summary>
        /// Desc:药方
        /// Default:
        /// Nullable:False
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public string PrescriptionID { get; set; }
        /// <summary>
        /// Desc:药品Id
        /// Default:
        /// Nullable:True
        /// </summary>
        public string DrugId { get; set; }
        /// <summary>
        /// Desc:诊断Id
        /// Default:
        /// Nullable:True
        /// </summary>
        public string DiagnoseId { get; set; }
        /// <summary>
        /// Desc:是否删除
        /// Default:
        /// Nullable:False
        /// </summary>
        public bool IsDeleted { get; set; }
        /// <summary>
        /// Desc:创建人
        /// Default:
        /// Nullable:False
        /// </summary>
        public string CREATEDBY { get; set; }
        /// <summary>
        /// Desc:创建时间
        /// Default:
        /// Nullable:False
        /// </summary>
        public DateTime CREATEDTIME { get; set; }
        /// <summary>
        /// Desc:更新人
        /// Default:
        /// Nullable:True
        /// </summary>
        public string UPDATEDBY { get; set; }
        /// <summary>
        /// Desc:更新时间
        /// Default:
        /// Nullable:True
        /// </summary>
        public DateTime? UPDATEDTIME { get; set; }
    }
}